#ifndef HASHASH_H_
#define HASHASH_H_

#include "types.h"

class HasHash
{
private:
	natural defaultHash;

protected:
	HasHash()
	{
		void* tmp = this;
		defaultHash = *((natural*)(void *)(&tmp));
	}

public:
	virtual ~HasHash(){}
	virtual natural hashCode(){return defaultHash;}
};


#endif /* HASHASH_H_ */
